Optimal Test Sets for Context-Free Languages
نویسندگان
چکیده
A test set for a formal language (set of strings) L is a subset T of L such that for any two string homomorphisms f and g defined on L, if the restrictions of f and g on T are identical functions, then f and g are identical on the entire L. Previously, it was shown that there are context-free grammars for which smallest test sets are cubic in the size of the grammar, which gives a lower bound on tests set size. Existing upper bounds were higher degree polynomials; we here give the first algorithm to compute test sets of cubic size for all context-free grammars, settling the gap between the upper and lower bound.
منابع مشابه
Generalized Stream X- machines and Cooperating Distributed Grammar Systems
Stream X-machines are a general and powerful computational model. By coupling the control structure of a stream X-machine with a set of formal grammars a new machine called generalized stream X-machine with underlying distributed grammars, acting as a translator, is obtained. By introducing this new mechanism a hierarchy of computational models is provided. If the grammars are of a particular c...
متن کاملOne Variable Equations in Free Groups via Context Free Languages
We use context free languages to analyze solution sets to one variable equations over free groups.
متن کاملUnsupervised Dependency Parsing with Transferring Distribution via Parallel Guidance and Entropy Regularization
We present a novel approach for inducing unsupervised dependency parsers for languages that have no labeled training data, but have translated text in a resourcerich language. We train probabilistic parsing models for resource-poor languages by transferring cross-lingual knowledge from resource-rich language with entropy regularization. Our method can be used as a purely monolingual dependency ...
متن کاملLearner Strategies and Test-wiseness of the Intermediate and Advanced Iranian TOEFL ibt Test Takers
Good language learners slot in a repertoire of strategies and when language tests are at stake, test-taking strategies and test-wiseness pave pay to a prolific outcome. Among such tests, TOEFL iBT seems to be a prerequisite to academic success and a nightmare many Iranian students struggle with. Therefore, the aim of the present study was to raise awareness about the type of questions in iBT, b...
متن کاملContext - Free Term Sets are Regular - andSome Applications
We prove that all context-free sets of terms are regular tree languages, a natural conjecture formulated in Mat97]. We motivate our interest in this language-theoretic result with two issues. First in automated model building it is desirable to characterize the power of context-free languages to represent single Herbrand models, which we conclude to be exactly the nite models. Second in proposi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1611.06703 شماره
صفحات -
تاریخ انتشار 2016